package com.zfast.yugioh.junit;

import com.zfast.yugioh.junit.util.Solution;
import org.junit.jupiter.api.Test;

import java.util.ArrayDeque;
import java.util.Deque;

public class 条件解析Junit {

        @Test
        public void egMax() {//e.g.
            //region 1.模拟数据
            System.out.println("--------------------Start--------------------");
            //endregion

            //region 2.数据处理
            System.out.println("--------------------Deal--------------------");
            //endregion

            //region 3.数据展示
            System.out.println("--------------------Done--------------------");
            //endregion
        }

        @Test
        public void 表达式解析_egMin() {//e.g.
            Solution solution=new Solution();
            System.out.println(solution.parseBoolExpr("!( f )"));
            System.out.println(solution.parseBoolExpr("|( f, t)"));
            System.out.println(solution.parseBoolExpr("&(t ,f)"));
            System.out.println(solution.parseBoolExpr("|(&(t,f , t),!(t))"));
            System.out.println(solution.parseBoolExpr("&(|(&(t, f, t),!(t)),f)"));
        }

        @Test
        public void egMin() {//e.g.
            System.out.println();
        }

}
